﻿<%@ Page Title="Strategic Asset Management Las Vegas: Master List" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
    CodeBehind="MasterList.aspx.cs" Inherits="LenderClearingHouse.MasterList" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="ListFilterControl.ascx" TagName="ListFilterControl" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphPageHeader" runat="server">
    Master List
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="grid">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Grid" UpdatePanelHeight="" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
    </telerik:RadAjaxManager>
    <uc1:listfiltercontrol id="listFilter" runat="server" />
    <!--Panel Five: "Export & etc..."-->
    <div class="panel5">
        <table width="1200" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <%--<td width="122" height="32" valign="middle">
                    &nbsp;
                </td>--%>
                <td width="35" valign="middle">
                    <img src="images/excel_icon.png" width="30" height="30" />
                </td>
                <td width="120" valign="middle">
                    <asp:LinkButton ID="lnkExportToExcel" CssClass="link1" runat="server" Text="Export To Excel"
                        OnClick="lnkExportToExcel_Click"></asp:LinkButton>
                </td>
                <td width="35" valign="middle">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="100" valign="middle">
                    <asp:LinkButton ID="lnkRefreshGrid" CssClass="link1" runat="server" Text="Refresh Grid"
                        OnClick="lnkRefreshGrid_Click"></asp:LinkButton>&nbsp;
                </td>
                <td width="35" valign="middle" id="tdMoveIcon" runat="server">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="150" valign="middle" id="tdMoveLink" runat="server">
                    <asp:LinkButton ID="lnlMoveToWorkingList" CssClass="link1" runat="server" Text="Copy to Working List"
                        OnClick="lnlMoveToWorkingList_Click"></asp:LinkButton>&nbsp;
                </td>
                <td width="35" valign="middle" id="tdClearIcon" runat="server">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="125" valign="middle" id="tdClearLink" runat="server">
                    <asp:LinkButton ID="lnkClearMasterList" CssClass="link1" runat="server" Text="Clear Master List"
                        OnClick="lnkClearMasterList_Click" OnClientClick="return confirm('You are about to clear master list - please confirm');"></asp:LinkButton>
                </td> 
                <td width="35" valign="middle">
                    <img src="images/excel_icon.png" width="30" height="30" />
                </td>
                <td width="115" valign="middle">
                    <asp:LinkButton ID="lnkExportToLegal" CssClass="link1" runat="server" Text="Export To Legal"
                        OnClick="lnkExportToLegal_Click"></asp:LinkButton>
                </td> 
                
                <td width="70" valign="middle">
                    <asp:Button ID="Archive" style = "font-size: 16px;" runat="server" Text="Archive"
                        OnClick="Archive_Click"></asp:Button>
                </td> 

                <td width="100" valign="middle">
                    <asp:Button ID="btnArchiveAll" style = "font-size: 16px;" runat="server" Text="Archive All" OnClientClick="return confirm('Do you want to archive all properties?');"
                        OnClick="ArchiveAll_Click"></asp:Button>
                </td> 
                              
                <td width="*">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    <!--Panel Five: "Export & etc..." Ends-->
    <!--Panel Six: "Postponed & etc..."-->
    <!--Panel Six: "Postponed & etc..." Ends-->
    <!--Blank List-->
    <div class="blank_list1">
    </div>
    <!--Blank List Ends-->
    <!--Panel Seven: "Grid Area"-->
    <div class="panel7">
        <asp:PlaceHolder ID="phGrid" runat="server"></asp:PlaceHolder>
    </div>
    <!--Panel Seven: "Grid Area" Ends-->
    <!--Blank List-->
    <div class="blank_list1">
    </div>
    <!--Blank List Ends-->
    <telerik:gridtextboxcolumneditor id="edTextBox" runat="server" textboxmode="MultiLine">
    </telerik:gridtextboxcolumneditor>
    <asp:SqlDataSource ID="sqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:SQLConnection %>"
        CancelSelectOnNullParameter="False" SelectCommand="getMasterList" SelectCommandType="StoredProcedure"
        OnSelecting="sqlDataSource_Selecting" OnInserted = "sqlDataSource_Inserted" OnInserting = "sqlDataSource_Inserting"
        DeleteCommand="deleteMasterList" DeleteCommandType="StoredProcedure"
        ></asp:SqlDataSource>
</asp:Content>
